package com.shycloud.mido.member.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shycloud.mido.member.api.entity.MultiClassroom;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shycloud.mido.member.api.vo.MultiClassRoomPageVO;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author baiqiang
 * @since 2021-07-12
 */
public interface MultiClassroomMapper extends BaseMapper<MultiClassroom> {

	IPage<MultiClassRoomPageVO> getMultiClassRoomPage(@Param("page") Page page, @Param("orgId") Integer orgId,
			@Param("name") String name);

	List<MultiClassroom> getClassRoomByStuAndTea(@Param("teacherId") String teacherId, @Param("studentId") String studentId);
}
